package com.yanfan.energy.domain;


import java.io.Serializable;

/**
 * 手动设置能源分配
 */

public class SetEnergyAllocation implements Serializable {
    private Integer id;
    /**
     * 设备id
     */
    private Long deviceId;
    /**
     * 车间ID
     */
    private Integer workshopId;
    /**
     * 百分比
     */
    private Double percentage;

    public SetEnergyAllocation() {
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public Integer getWorkshopId() {
        return workshopId;
    }

    public void setWorkshopId(Integer workshopId) {
        this.workshopId = workshopId;
    }

    public Double getPercentage() {
        return percentage;
    }

    public void setPercentage(Double percentage) {
        this.percentage = percentage;
    }

    @Override
    public String toString() {
        return "SetEnergyAllocation{" + "id=" + id + ", deviceId=" + deviceId + ", workshopId=" + workshopId + ", percentage=" + percentage + '}';
    }
}
